<include file="public:header" />
<form id="info_form" action="{:u('fault/actVerify')}" method="post">
<input type="hidden" name="faultId" value="{$info.id}" />
<input type="hidden" name="faultType" value="{$faultType}" />
<input type="hidden" name="step" value="{$info.step}" />
<div class="pad_lr_10">
	<div class="col_tab">
		<ul class="J_tabs tab_but cu_li">
			<li class="current">查看详情</li>	
            <if condition="$isVerify eq 1">
                <li class="current">审核</li>
            </if>
		</ul>
		<div class="J_panes">
			<div class="content_list pad_10 <if condition="$isVerify eq 1">hidden</if>">
				<table width="100%" cellspacing="0" class="table_form">
					<tr>
						<th width="120">发起时间 :</th>
						<td>
                            {$info.addTime|date='Y-m-d H:i:s',###}
                        </td>
					</tr>
		            <tr>
						<th>渠道 :</th>
						<td>
		                    {:L('store_channel'.$info['channel'])}
		                </td>
					</tr>
		            <tr>
						<th>所属厅店 :</th>
						<td>
							{$info.name}				     
		                </td>
					</tr> 
                    
                   <tr>                        
            	      <th>所属城市 :</th>
            	      <td>
                            {$info.regionName}
            	      </td> 
                    </tr>
                    <tr>                        
            	      <th>报修人 :</th>
            	      <td>
                           {$info.realName}
            	      </td> 
                    </tr>
                    <if condition="$faultType eq 'modelFault'">                      
		            <tr>
						<th>IMEI :</th>
						<td>{$info.imei}</td>
					</tr>     
                    </if>                                                    
                   <volist name="info['value']" id="item">
                        <tr>
                            <th>{$item.name}</th>
                            <td>{$item.value}</td>
                        </tr>
                   </volist>
              
                   <foreach name="info['photo']" item="vo">
                        <tr>
                            <th></th>
                            <td><img src="{:C('pin_fault_path').$vo}" /></td>
                        </tr>
                   </foreach>
				</table>
			</div>
            
            <div class="content_list pad_10 <if condition="$isVerify neq 1">hidden</if>">
                <div class="J_tablelist table_list" style="width="80%">
                 <table width="80%" cellspacing="0" class="treeTable" id="J_cate_tree">
                        <thead>
                        <tr>
                            <th width="120" align="center">时间</th>
                            <th width="80" align="center">操作者</th>
                            <th align="center">审核类型</th>
                            <th width="80" align="center">实地考察</th>
                            <th align="center">备注</th>
                        </tr>
                        </thead>
                        <volist name="verifyHistoryList" id="val">
                             <tr>
                                <td align="center">{$val.verifyTime|date='Y-m-d H:i:s',###}</td>
                                <td align="center">{$val.realName}</td>
                                <td align="center">{$val.verifyResult}</td>
                                <td align="center"><if condition="$val.isReadRegion eq 1">是<else />否</if></td>
                                <td align="center">{$val.remark}</td>
                             </tr>   
                        </volist>
                    </table>
                </div>                       
				<table width="100%" cellspacing="0" class="table_form">
                    
                    <tr>
                        <th width="120px">审核结果 ：</th>
                        <td>
                            <select name="verifyResult">
                                <option value="">请选择</option>
                                <volist name="verifyResult" id="item">
                                    <option value="{$key}">{$item.con}</option>
                                </volist>
                            </select>
                        </td>
                    </tr> 	
                    
                    <tr>
                        <th width="120px">实地检查 ：</th>
                        <td>
                            <select name="isReadRegion">
                                <option value="">请选择</option>
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </td>
                    </tr>  
                    <tr>
                        <th>备注说明 ：</th>
                        <td>
                            <textarea name="remark"></textarea>
                        </td>
                    </tr>                   				
				</table>            
            </div>
        </div>
        
        <if condition="$isVerify eq 1">
            <div class="mt10"><input type="submit" value="{:L('submit')}" id="dosubmit" name="dosubmit" class="btn btn_submit" style="margin:0 0 10px 100px;"><br /><br /><br /></div>
        </if>
	</div>
</div>


        
</form>
<include file="public:footer" />
<script>
$('ul.J_tabs').tabs('div.J_panes > div');
</script>
</body>
</html>